package com.marktotop.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author MarkToTop
 * @since 2021-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_observe_record")
@ApiModel(value="ObserveRecord对象", description="")
public class ObserveRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "留观记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "接种人id")
    private Long vaccinatorId;

    @ApiModelProperty(value = "留观时间(分种)")
    private Integer observationTime;

    @ApiModelProperty(value = "留观说明")
    private String observationDesc;

    @ApiModelProperty(value = "记录人")
    private Long accountId;

    @ApiModelProperty(value = "记录时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date accountTime;

    @ApiModelProperty(value = "所属接种点")
    private Long vaccinationSiteId;

    @ApiModelProperty(value = "预约id")
    private Long reservationId;

    @ApiModelProperty(value = "接种id")
    private Long injectionId;
}
